package com.wzf.pojo.resp;

public enum StatusEnum {
    OK(200,"执行成功"),
    FAIL(500,"登录失败"),
    ANONY(600,"匿名用户无权访问,请登录"),
    NO_AUTH(700,"无权限访问,请联系管理员");
    private Integer code;

    private String message;

    StatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
